Skip to main content
Version: 8.4.10.4

OptionPrintSet

V8 Message Definiton

OptionPrintSet records contain every option print along with quote, surface, and SR probability details at print time. These records also contain T+1M and T+10M forward mark details. These records are created for every print at the time of print and are published to the SpiderRock elastic cluster 10 minutes later when T + 10M forward marks are available.

METADATA

AttributeValue
Topic2750-market-data-options
MLink TokenOptAnalytics
ProductSRAnalytics
accessTypeSELECT

Table Definition

FieldTypeKeyDefault ValueComment
okey_atenum - AssetTypePRI'None'
okey_tsenum - TickerSrcPRI'None'
okey_tkVARCHAR(12)PRI''
okey_yrSMALLINT UNSIGNEDPRI0
okey_mnTINYINT UNSIGNEDPRI0
okey_dyTINYINT UNSIGNEDPRI0
okey_xxDOUBLEPRI0
okey_cpenum - CallPutPRI'Call'
prtNumberBIGINTPRI0Unique print set identifier will increment but not guaranteed to be sequential
updateTypeenum - PrtUpdateType'None'
fkey_atenum - AssetType'None'underlying fkey if any
fkey_tsenum - TickerSrc'None'underlying fkey if any
fkey_tkVARCHAR(12)''underlying fkey if any
fkey_yrSMALLINT UNSIGNED0underlying fkey if any
fkey_mnTINYINT UNSIGNED0underlying fkey if any
fkey_dyTINYINT UNSIGNED0underlying fkey if any
ticker_atenum - AssetType'None'underlying ticker
ticker_tsenum - TickerSrc'None'underlying ticker
ticker_tkVARCHAR(12)''underlying ticker
prtExchenum - OptExch'None'exchange on which print took place
prtSizeINT0print size contracts
prtPriceFLOAT0print price
prtTypeenum - PrtType'None'print type
prtOrdersSMALLINT UNSIGNED0number of participating orders future exchanges only
prtClusterNumINT0incremental print cluster counter one counter per okey used to group prints into clusters
prtClusterSizeINT0cumulative size of prints in this sequence prints same or more aggressive price with less than 25 ms elapsing since first print can span exchanges
prtVolumeINT0day print volume in contracts
cxlVolumeINT0day printcancel volume num of contracts printed and then cancelled
bidCountSMALLINT UNSIGNED0number of bid prints
askCountSMALLINT UNSIGNED0number of ask prints
bidVolumeINT0bid print volume in contracts
askVolumeINT0ask print volume in contracts
ebidFLOAT0exchange bid print time
easkFLOAT0exchange ask print time
ebszINT0exchange bid size
easzINT0exchange ask size
eageFLOAT0age of prevailing quote at time of print
prtSideenum - PrtSide'None'
prtTimestampBIGINT0exchange high precision timestamp if available
netTimestampBIGINT0inbound packet PTP timestamp from SR gateway switch usually syncronized with facility grandfather clock
timestampDATETIME(6)'1900-01-01 00:00:00.000000'
oBidFLOAT0Option NBBO bid a the time the print was received
oAskFLOAT0Option NBBO ask a the time the print was received
oBidSzINT0Option NBBO cumulative bid size at the time the print was received
oAskSzINT0Option NBBO cumulative ask size at the time the print was received
oBidExenum - OptExch'None'First or largest option exchange on the bid
oAskExenum - OptExch'None'First or largest option exchange on the ask
oBidExSzINT0Option bid size of the largest exchange on the bid at the time the print was received
oAskExSzINT0Option ask size of the largest exchange on the ask at the time the print was received
oBidCntTINYINT UNSIGNED0Number of exchanges on the NBBO bid
oAskCntTINYINT UNSIGNED0Number of exchanges on the NBBO ask
oBid2FLOAT0Second level bid price
oAsk2FLOAT0Second level ask price
oBidSz2INT0Cumulative size on the second level bid price
oAskSz2INT0Cumulative size on the second level ask price
oBidIvDOUBLE0option bid IV
oAskIvDOUBLE0option ask IV
uBidDOUBLE0underlier bid
uAskDOUBLE0underlier ask
uPrcDOUBLE0underlier price
yrsFLOAT0years to expiry
rateFLOAT0interest rate
sdivFLOAT0continuous stock dividend
ddivFLOAT0discrete stock dividend value sum of dividends expiration
xDeFLOAT0xDelta
xAxisFLOAT0SR surface xAxis value
multihedgeenum - Multihedge'None'Distinguishes options that have a single underlying security from those that are more complex multiple securitiescash components binary optionsetc NoneSimpleComplexAllCashBinary
flexTypeenum - FlexType'None'
flexRootVARCHAR(12)''
prtIvFLOAT0print implied vol
prtDeFLOAT0print delta
prtGaFLOAT0print gamma
prtThFLOAT0print theta
prtVeFLOAT0print vega
prtRoFLOAT0print rho
calcErrVARCHAR(24)''calc error flag
surfVolFLOAT0SR surface volatility
surfOpxFLOAT0SR surface price
surfAtmFLOAT0SR surface ATM vol
prtProbabilityFLOAT0M1 probability that buying prtSize contracts prtPrice will have positive m10 pnl prtPriceM10 prtPrice recorded at time of print
prtProbabilityM2FLOAT0alternate probability model
prtProbabilityM3FLOAT0alternate probability model
oBidM1FLOAT0NBBO option bid 1 minute after print was received
oAskM1FLOAT0NBBO option ask 1 minute after print was received
uBidM1DOUBLE0NBBO underlying bid 1 minute after print was received
uAskM1DOUBLE0NBBO underlying ask 1 minute after print was received
uPrcM1DOUBLE0Underlying price 1 minute after print was received
sVolM1FLOAT0Suface volatility 1 minute after print was received
sOpxM1FLOAT0Surface option price 1 minute after print was received
sDivM1FLOAT0sDiv 1 minute after print was received
sErrM1VARCHAR(12)''Surface error condition if any 1 minute after print was received
pnlM1FLOAT0pnl after 1 minute
pnlM1Errenum - YesNo'None'Error condition for PnL calculated over the first 1 minute after the print was received
oBidM10FLOAT0NBBO option bid 10 minutes after print was received
oAskM10FLOAT0NBBO option ask 10 minutes after print was received
uBidM10DOUBLE0NBBO underlying bid 10 minutes after print was received
uAskM10DOUBLE0NBBO underlying ask 10 minutes after print was received
uPrcM10DOUBLE0Underlying price 10 minutes after print was received
sVolM10FLOAT0Suface volatility 10 minutes after print was received
sOpxM10FLOAT0Surface option price 10 minutes after print was received
sDivM10FLOAT0sDiv 10 minutes after print was received
sErrM10VARCHAR(12)''Surface error condition if any 10 minutes after print was received
pnlM10FLOAT0pnl after 10 minutes
pnlM10Errenum - YesNo'None'Error condition for PnL calculated 10 minutes after the print was received
oBidS1FLOAT0NBBO option bid 1 second after print was received
oAskS1FLOAT0NBBO option ask 1 second after print was received
uBidS1DOUBLE0NBBO underlying bid 1 second after print was received
uAskS1DOUBLE0NBBO underlying ask 1 second after print was received
uPrcS1DOUBLE0Underlying price 1 second after print was received
sVolS1FLOAT0Suface volatility 1 second after print was received
sOpxS1FLOAT0Surface option price 1 second after print was received
sDivS1FLOAT0sDiv 1 second after print was received
sErrS1VARCHAR(12)''Surface error condition if any 1 second after print was received
pnlS1FLOAT0pnl after 1 second
pnlS1Errenum - YesNo'None'Error condition for PnL calculated over the first 1 second after the print was received
oBidNextFLOAT0next NBBO option bid after print was received
oAskNextFLOAT0next NBBO option ask after print was received

PRIMARY KEY DEFINITION (Unique)

FieldSequence
okey_tk1
okey_yr2
okey_mn3
okey_dy4
okey_xx5
okey_cp6
okey_at7
okey_ts8
prtNumber9

CREATE TABLE EXAMPLE QUERY

CREATE TABLE `SRAnalytics`.`MsgOptionPrintSet` (
`okey_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None',
`okey_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None',
`okey_tk` VARCHAR(12) NOT NULL DEFAULT '',
`okey_yr` SMALLINT UNSIGNED NOT NULL DEFAULT 0,
`okey_mn` TINYINT UNSIGNED NOT NULL DEFAULT 0,
`okey_dy` TINYINT UNSIGNED NOT NULL DEFAULT 0,
`okey_xx` DOUBLE NOT NULL DEFAULT 0,
`okey_cp` ENUM('Call','Put','Pair') NOT NULL DEFAULT 'Call',
`prtNumber` BIGINT NOT NULL DEFAULT 0 COMMENT 'Unique print set identifier, will increment but not guaranteed to be sequential',
`updateType` ENUM('None','Print','Markup') NOT NULL DEFAULT 'None',
`fkey_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None' COMMENT 'underlying fkey (if any)',
`fkey_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None' COMMENT 'underlying fkey (if any)',
`fkey_tk` VARCHAR(12) NOT NULL DEFAULT '' COMMENT 'underlying fkey (if any)',
`fkey_yr` SMALLINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'underlying fkey (if any)',
`fkey_mn` TINYINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'underlying fkey (if any)',
`fkey_dy` TINYINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'underlying fkey (if any)',
`ticker_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None' COMMENT 'underlying ticker',
`ticker_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None' COMMENT 'underlying ticker',
`ticker_tk` VARCHAR(12) NOT NULL DEFAULT '' COMMENT 'underlying ticker',
`prtExch` ENUM('None','AMEX','BOX','CBOE','ISE','NYSE','PHLX','NSDQ','BATS','C2','NQBX','MIAX','GMNI','CME','CBOT','NYMEX','COMEX','ICE','EDGO','MCRY','MPRL','SDRK','DQTE','EMLD','CFE','MEMX','SPHR','EUREX','CEDX','NXAM','NXBR','NXLS','NXML','NXOS','NXP','ICEFE') NOT NULL DEFAULT 'None' COMMENT 'exchange on which print took place',
`prtSize` INT NOT NULL DEFAULT 0 COMMENT 'print size [contracts]',
`prtPrice` FLOAT NOT NULL DEFAULT 0 COMMENT 'print price',
`prtType` ENUM('None','CANC','OSEQ','CNCL','LATE','CNCO','OPEN','CNOL','OPNL','AUTO','REOP','ISOI','SLAN','SLAI','SLCN','SCLI','SLFT','MLET','MLAT','MLCT','MLFT','MESL','TLAT','MASL','MFSL','TLET','TLCT','TLFT','TESL','TASL','TFSL','CBMO','MCTP','EXHT') NOT NULL DEFAULT 'None' COMMENT 'print type',
`prtOrders` SMALLINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'number of participating orders (future exchanges only)',
`prtClusterNum` INT NOT NULL DEFAULT 0 COMMENT 'incremental print cluster counter (one counter per okey; used to group prints into clusters)',
`prtClusterSize` INT NOT NULL DEFAULT 0 COMMENT 'cumulative size of prints in this sequence (prints @ same or more aggressive price with less than 25 ms elapsing since first print; can span exchanges)',
`prtVolume` INT NOT NULL DEFAULT 0 COMMENT 'day print volume in contracts',
`cxlVolume` INT NOT NULL DEFAULT 0 COMMENT 'day print/cancel volume (num of contracts printed and then cancelled)',
`bidCount` SMALLINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'number of bid prints',
`askCount` SMALLINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'number of ask prints',
`bidVolume` INT NOT NULL DEFAULT 0 COMMENT 'bid print volume in contracts',
`askVolume` INT NOT NULL DEFAULT 0 COMMENT 'ask print volume in contracts',
`ebid` FLOAT NOT NULL DEFAULT 0 COMMENT 'exchange bid (@ print time)',
`eask` FLOAT NOT NULL DEFAULT 0 COMMENT 'exchange ask (@ print time)',
`ebsz` INT NOT NULL DEFAULT 0 COMMENT 'exchange bid size',
`easz` INT NOT NULL DEFAULT 0 COMMENT 'exchange ask size',
`eage` FLOAT NOT NULL DEFAULT 0 COMMENT 'age of prevailing quote at time of print',
`prtSide` ENUM('None','Mid','Bid','Ask') NOT NULL DEFAULT 'None',
`prtTimestamp` BIGINT NOT NULL DEFAULT 0 COMMENT 'exchange high precision timestamp (if available)',
`netTimestamp` BIGINT NOT NULL DEFAULT 0 COMMENT 'inbound packet PTP timestamp from SR gateway switch; usually syncronized with facility grandfather clock',
`timestamp` DATETIME(6) NOT NULL DEFAULT '1900-01-01 00:00:00.000000',
`oBid` FLOAT NOT NULL DEFAULT 0 COMMENT 'Option NBBO bid a the time the print was received',
`oAsk` FLOAT NOT NULL DEFAULT 0 COMMENT 'Option NBBO ask a the time the print was received',
`oBidSz` INT NOT NULL DEFAULT 0 COMMENT 'Option NBBO cumulative bid size at the time the print was received',
`oAskSz` INT NOT NULL DEFAULT 0 COMMENT 'Option NBBO cumulative ask size at the time the print was received',
`oBidEx` ENUM('None','AMEX','BOX','CBOE','ISE','NYSE','PHLX','NSDQ','BATS','C2','NQBX','MIAX','GMNI','CME','CBOT','NYMEX','COMEX','ICE','EDGO','MCRY','MPRL','SDRK','DQTE','EMLD','CFE','MEMX','SPHR','EUREX','CEDX','NXAM','NXBR','NXLS','NXML','NXOS','NXP','ICEFE') NOT NULL DEFAULT 'None' COMMENT 'First (or largest) option exchange on the bid',
`oAskEx` ENUM('None','AMEX','BOX','CBOE','ISE','NYSE','PHLX','NSDQ','BATS','C2','NQBX','MIAX','GMNI','CME','CBOT','NYMEX','COMEX','ICE','EDGO','MCRY','MPRL','SDRK','DQTE','EMLD','CFE','MEMX','SPHR','EUREX','CEDX','NXAM','NXBR','NXLS','NXML','NXOS','NXP','ICEFE') NOT NULL DEFAULT 'None' COMMENT 'First (or largest) option exchange on the ask',
`oBidExSz` INT NOT NULL DEFAULT 0 COMMENT 'Option bid size of the largest exchange on the bid at the time the print was received',
`oAskExSz` INT NOT NULL DEFAULT 0 COMMENT 'Option ask size of the largest exchange on the ask at the time the print was received',
`oBidCnt` TINYINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'Number of exchanges on the NBBO bid',
`oAskCnt` TINYINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'Number of exchanges on the NBBO ask',
`oBid2` FLOAT NOT NULL DEFAULT 0 COMMENT 'Second level bid price',
`oAsk2` FLOAT NOT NULL DEFAULT 0 COMMENT 'Second level ask price',
`oBidSz2` INT NOT NULL DEFAULT 0 COMMENT 'Cumulative size on the second level bid price',
`oAskSz2` INT NOT NULL DEFAULT 0 COMMENT 'Cumulative size on the second level ask price',
`oBidIv` DOUBLE NOT NULL DEFAULT 0 COMMENT 'option bid IV',
`oAskIv` DOUBLE NOT NULL DEFAULT 0 COMMENT 'option ask IV',
`uBid` DOUBLE NOT NULL DEFAULT 0 COMMENT 'underlier bid',
`uAsk` DOUBLE NOT NULL DEFAULT 0 COMMENT 'underlier ask',
`uPrc` DOUBLE NOT NULL DEFAULT 0 COMMENT 'underlier price',
`yrs` FLOAT NOT NULL DEFAULT 0 COMMENT 'years to expiry',
`rate` FLOAT NOT NULL DEFAULT 0 COMMENT 'interest rate',
`sdiv` FLOAT NOT NULL DEFAULT 0 COMMENT 'continuous stock dividend',
`ddiv` FLOAT NOT NULL DEFAULT 0 COMMENT 'discrete stock dividend value (sum of dividends <= expiration)',
`xDe` FLOAT NOT NULL DEFAULT 0 COMMENT 'xDelta',
`xAxis` FLOAT NOT NULL DEFAULT 0 COMMENT 'SR surface xAxis value',
`multihedge` ENUM('None','Simple','Complex','AllCash','Binary','Fragment') NOT NULL DEFAULT 'None' COMMENT 'Distinguishes options that have a single underlying security from those that are more complex: multiple securities,cash components, binary options,etc: ''None'',''Simple'',''Complex'',''AllCash'',''Binary''',
`flexType` ENUM('None','AM_Amer','AM_Euro','PM_Amer','PM_Euro','Asian','Cliquet','Other') NOT NULL DEFAULT 'None',
`flexRoot` VARCHAR(12) NOT NULL DEFAULT '',
`prtIv` FLOAT NOT NULL DEFAULT 0 COMMENT 'print implied vol',
`prtDe` FLOAT NOT NULL DEFAULT 0 COMMENT 'print delta',
`prtGa` FLOAT NOT NULL DEFAULT 0 COMMENT 'print gamma',
`prtTh` FLOAT NOT NULL DEFAULT 0 COMMENT 'print theta',
`prtVe` FLOAT NOT NULL DEFAULT 0 COMMENT 'print vega',
`prtRo` FLOAT NOT NULL DEFAULT 0 COMMENT 'print rho',
`calcErr` VARCHAR(24) NOT NULL DEFAULT '' COMMENT 'calc error flag',
`surfVol` FLOAT NOT NULL DEFAULT 0 COMMENT 'SR surface volatility',
`surfOpx` FLOAT NOT NULL DEFAULT 0 COMMENT 'SR surface price',
`surfAtm` FLOAT NOT NULL DEFAULT 0 COMMENT 'SR surface ATM vol',
`prtProbability` FLOAT NOT NULL DEFAULT 0 COMMENT '[M1] probability that buying prtSize contracts @ prtPrice will have positive m10 pnl (prtPriceM10 >= prtPrice) [recorded at time of print]',
`prtProbabilityM2` FLOAT NOT NULL DEFAULT 0 COMMENT 'alternate probability model',
`prtProbabilityM3` FLOAT NOT NULL DEFAULT 0 COMMENT 'alternate probability model',
`oBidM1` FLOAT NOT NULL DEFAULT 0 COMMENT 'NBBO option bid 1 minute after print was received',
`oAskM1` FLOAT NOT NULL DEFAULT 0 COMMENT 'NBBO option ask 1 minute after print was received',
`uBidM1` DOUBLE NOT NULL DEFAULT 0 COMMENT 'NBBO underlying bid 1 minute after print was received',
`uAskM1` DOUBLE NOT NULL DEFAULT 0 COMMENT 'NBBO underlying ask 1 minute after print was received',
`uPrcM1` DOUBLE NOT NULL DEFAULT 0 COMMENT 'Underlying price 1 minute after print was received',
`sVolM1` FLOAT NOT NULL DEFAULT 0 COMMENT 'Suface volatility 1 minute after print was received',
`sOpxM1` FLOAT NOT NULL DEFAULT 0 COMMENT 'Surface option price 1 minute after print was received',
`sDivM1` FLOAT NOT NULL DEFAULT 0 COMMENT 'sDiv 1 minute after print was received',
`sErrM1` VARCHAR(12) NOT NULL DEFAULT '' COMMENT 'Surface error condition (if any) 1 minute after print was received',
`pnlM1` FLOAT NOT NULL DEFAULT 0 COMMENT 'pnl after 1 minute',
`pnlM1Err` ENUM('None','Yes','No') NOT NULL DEFAULT 'None' COMMENT 'Error condition for PnL calculated over the first 1 minute after the print was received',
`oBidM10` FLOAT NOT NULL DEFAULT 0 COMMENT 'NBBO option bid 10 minutes after print was received',
`oAskM10` FLOAT NOT NULL DEFAULT 0 COMMENT 'NBBO option ask 10 minutes after print was received',
`uBidM10` DOUBLE NOT NULL DEFAULT 0 COMMENT 'NBBO underlying bid 10 minutes after print was received',
`uAskM10` DOUBLE NOT NULL DEFAULT 0 COMMENT 'NBBO underlying ask 10 minutes after print was received',
`uPrcM10` DOUBLE NOT NULL DEFAULT 0 COMMENT 'Underlying price 10 minutes after print was received',
`sVolM10` FLOAT NOT NULL DEFAULT 0 COMMENT 'Suface volatility 10 minutes after print was received',
`sOpxM10` FLOAT NOT NULL DEFAULT 0 COMMENT 'Surface option price 10 minutes after print was received',
`sDivM10` FLOAT NOT NULL DEFAULT 0 COMMENT 'sDiv 10 minutes after print was received',
`sErrM10` VARCHAR(12) NOT NULL DEFAULT '' COMMENT 'Surface error condition (if any) 10 minutes after print was received',
`pnlM10` FLOAT NOT NULL DEFAULT 0 COMMENT 'pnl after 10 minutes',
`pnlM10Err` ENUM('None','Yes','No') NOT NULL DEFAULT 'None' COMMENT 'Error condition for PnL calculated 10 minutes after the print was received',
`oBidS1` FLOAT NOT NULL DEFAULT 0 COMMENT 'NBBO option bid 1 second after print was received',
`oAskS1` FLOAT NOT NULL DEFAULT 0 COMMENT 'NBBO option ask 1 second after print was received',
`uBidS1` DOUBLE NOT NULL DEFAULT 0 COMMENT 'NBBO underlying bid 1 second after print was received',
`uAskS1` DOUBLE NOT NULL DEFAULT 0 COMMENT 'NBBO underlying ask 1 second after print was received',
`uPrcS1` DOUBLE NOT NULL DEFAULT 0 COMMENT 'Underlying price 1 second after print was received',
`sVolS1` FLOAT NOT NULL DEFAULT 0 COMMENT 'Suface volatility 1 second after print was received',
`sOpxS1` FLOAT NOT NULL DEFAULT 0 COMMENT 'Surface option price 1 second after print was received',
`sDivS1` FLOAT NOT NULL DEFAULT 0 COMMENT 'sDiv 1 second after print was received',
`sErrS1` VARCHAR(12) NOT NULL DEFAULT '' COMMENT 'Surface error condition (if any) 1 second after print was received',
`pnlS1` FLOAT NOT NULL DEFAULT 0 COMMENT 'pnl after 1 second',
`pnlS1Err` ENUM('None','Yes','No') NOT NULL DEFAULT 'None' COMMENT 'Error condition for PnL calculated over the first 1 second after the print was received',
`oBidNext` FLOAT NOT NULL DEFAULT 0 COMMENT 'next NBBO option bid after print was received',
`oAskNext` FLOAT NOT NULL DEFAULT 0 COMMENT 'next NBBO option ask after print was received',
PRIMARY KEY USING HASH (`okey_tk`,`okey_yr`,`okey_mn`,`okey_dy`,`okey_xx`,`okey_cp`,`okey_at`,`okey_ts`,`prtNumber`)
) ENGINE=SRSE DEFAULT CHARSET=LATIN1 COMMENT='OptionPrintSet records contain every option print along with quote, surface, and SR probability details at print time. These records also contain T+1M and T+10M forward mark details. These records are created for every print at the time of print and are published to the SpiderRock elastic cluster 10 minutes later when T + 10M forward marks are available.';

SELECT TABLE EXAMPLE QUERY

SELECT
`okey_at`,
`okey_ts`,
`okey_tk`,
`okey_yr`,
`okey_mn`,
`okey_dy`,
`okey_xx`,
`okey_cp`,
`prtNumber`,
`updateType`,
`fkey_at`,
`fkey_ts`,
`fkey_tk`,
`fkey_yr`,
`fkey_mn`,
`fkey_dy`,
`ticker_at`,
`ticker_ts`,
`ticker_tk`,
`prtExch`,
`prtSize`,
`prtPrice`,
`prtType`,
`prtOrders`,
`prtClusterNum`,
`prtClusterSize`,
`prtVolume`,
`cxlVolume`,
`bidCount`,
`askCount`,
`bidVolume`,
`askVolume`,
`ebid`,
`eask`,
`ebsz`,
`easz`,
`eage`,
`prtSide`,
`prtTimestamp`,
`netTimestamp`,
`timestamp`,
`oBid`,
`oAsk`,
`oBidSz`,
`oAskSz`,
`oBidEx`,
`oAskEx`,
`oBidExSz`,
`oAskExSz`,
`oBidCnt`,
`oAskCnt`,
`oBid2`,
`oAsk2`,
`oBidSz2`,
`oAskSz2`,
`oBidIv`,
`oAskIv`,
`uBid`,
`uAsk`,
`uPrc`,
`yrs`,
`rate`,
`sdiv`,
`ddiv`,
`xDe`,
`xAxis`,
`multihedge`,
`flexType`,
`flexRoot`,
`prtIv`,
`prtDe`,
`prtGa`,
`prtTh`,
`prtVe`,
`prtRo`,
`calcErr`,
`surfVol`,
`surfOpx`,
`surfAtm`,
`prtProbability`,
`prtProbabilityM2`,
`prtProbabilityM3`,
`oBidM1`,
`oAskM1`,
`uBidM1`,
`uAskM1`,
`uPrcM1`,
`sVolM1`,
`sOpxM1`,
`sDivM1`,
`sErrM1`,
`pnlM1`,
`pnlM1Err`,
`oBidM10`,
`oAskM10`,
`uBidM10`,
`uAskM10`,
`uPrcM10`,
`sVolM10`,
`sOpxM10`,
`sDivM10`,
`sErrM10`,
`pnlM10`,
`pnlM10Err`,
`oBidS1`,
`oAskS1`,
`uBidS1`,
`uAskS1`,
`uPrcS1`,
`sVolS1`,
`sOpxS1`,
`sDivS1`,
`sErrS1`,
`pnlS1`,
`pnlS1Err`,
`oBidNext`,
`oAskNext`
FROM `SRAnalytics`.`MsgOptionPrintSet`
WHERE
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') */
`okey_at` = 'None'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') */
`okey_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`okey_tk` = 'Example_okey_tk'
AND
/* Replace with a SMALLINT UNSIGNED */
`okey_yr` = 123
AND
/* Replace with a TINYINT UNSIGNED */
`okey_mn` = 1
AND
/* Replace with a TINYINT UNSIGNED */
`okey_dy` = 1
AND
/* Replace with a DOUBLE */
`okey_xx` = 4.56
AND
/* Replace with a ENUM('Call','Put','Pair') */
`okey_cp` = 'Call'
AND
/* Replace with a BIGINT */
`prtNumber` = 1234567890;

Doc Columns Query

SELECT * FROM SRAnalytics.doccolumns WHERE TABLE_NAME='OptionPrintSet' ORDER BY ordinal_position ASC;